package homework;

import java.util.ArrayList;
import java.util.Random;

public class Homework2ShellSort {
	
	public static void main(String[] args) {
		
		Random random = new Random();
		
		ArrayList<Integer> arr = new ArrayList<>();
		
		int n = random.nextInt(20);
		
		for (int i = 0; i < n; i++) {
			arr.add(random.nextInt(100));
		}
		
		System.out.println(arr);
		
		ShellSort.sort(arr);
		
		System.out.println(arr);
		
	}
	
}
